package com.cnt.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.util.Date;

@Data
public class Donations {
    @TableId(value = "donation_id", type = IdType.AUTO)
    private Integer donationId;

    private Integer personId;
    private String alias;
    private Integer age;
    private String donationReason; // 募捐原因
    private Date deadline;
    private String timeReason;
    private double donationAmount; //捐钱金额
    private String amountReason; // 募捐金额原因
    private double donatedAmount; // 已经募捐到的金额
    private Integer materialPoints; //材料积分
    private String donationImage; //人照片url
    private Integer status; //1.已保存，2.已提交，3.已删除，4.审核中，5.已发布，6.已完结
    private double expenseAmount; //支出的钱
    private Integer pointsId;
    private String isPointsRules;
}
